using System.Collections.Generic;
using UnityEngine;

[System.Serializable]
public class CardDataDetails
{
    //卡牌ID
    public int cardID;
    //卡牌名字
    public string cardName;
    //卡牌图标
    public Sprite cardImage;
    //卡牌消耗
    public int cardCost;
    //卡牌类型
    public CardType cardType;
    //卡牌等级
    public bool isPrimaryCard;
    public bool isIntermediateCard;
    public bool isSeniorCard;
    //收藏室是否收藏
    public bool isCollected;
    //卡牌描述
    public string cardDescription;
    //卡牌效果
    public Effect effects;
    //卡牌价格
    public int cardPrice;
    //卡牌卖出价格百分比
    [Range(0, 1)] public float sellPercentage;
}

[System.Serializable]
public struct CardLibraryEntry
{
    public CardDataDetails cardData;
    public int amount;
}
